/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testadventure;

import edu.clemson.cs.hamptos.adventure.AdventureCommand;
import edu.clemson.cs.hamptos.adventure.AdventureEngine;
import edu.clemson.cs.hamptos.adventure.AdventureTarget;
import edu.clemson.cs.hamptos.adventure.AdventureWindow;
import java.util.HashMap;

/**
 *<p>This class is an extension of VerbApplyTool.  This creates the verbs kill and shoot
 * the the actions of the player with the pistol.</p>
 * 
 */
public class VerbApplyToolRange extends VerbApplyTool {
    /**
     *<p>this creates a new instance of VerbApplyToolRange</p> 
     */
    VerbApplyToolRange()
    {
        super();
        verbs.add("kill");
        verbs.add("shoot");
    }
    
    @Override
    public void doCommand(AdventureCommand c, AdventureEngine e, AdventureWindow w) {
        super.doCommand(c, e, w);
        AdventureTarget thedo = c.getDirectObject();
        AdventureTarget theio = c.getIndirectObject();
        
        HashMap<String, Integer> dostats = thedo.getStats();
        HashMap<String, Integer> iostats = theio.getStats();
    }

    @Override
    public String getName() {
        return "VerbApplyToolRange";
    }
    
}
